<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ include file="../components/screenHeader.jspf" %>

<div class="ButtonsContainerTop">
	<a href="<spring:url value="edit?id=${ticket.id}" />" class="EditButton">Muuda</a>
</div>

<table class="align-center">
<tbody>
	<tr>
		<td>Omanik:</td>
		<td>${ticket.creator}</td>
	</tr>
	<tr>
		<td>Vastutaja:</td>
		<td>${ticket.assignee}</td>
	</tr>
	<tr>
		<td>Olek:</td>
		<td class="TicketStatus${ticket.status}">${ticketStatusString}</td>
	</tr>
	<tr>
		<td>Viimati muudetud:</td>
		<td><fmt:formatDate pattern="dd.MM.yyyy HH:mm:ss" value="${ticket.lastModified}"/></td>
	</tr>
	<tr>
		<td>Kirjeldus:</td>
		<td>${ticket.description}</td>
	</tr>
</tbody>
</table>

<%@ include file="../components/screenFooter.jspf" %>
